package com.ruoyi.merchant.verificationrecord.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 核销记录，记录订单核销相关信息对象 verification_record
 * 
 * @author zx
 * @date 2025-09-14
 */
public class VerificationRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id编号 */
    private Integer id;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Integer mid;

    /** 订单id */
    @Excel(name = "订单id")
    private Integer oid;

    /** 服务项目名 */
    @Excel(name = "服务项目名")
    private String name;

    /** 下单用户 */
    @Excel(name = "下单用户")
    private String username;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private Long price;

    /** 核销时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "核销时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 删除状态（0：未删除，1：已删除） */
    private Integer del;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setMid(Integer mid) 
    {
        this.mid = mid;
    }

    public Integer getMid() 
    {
        return mid;
    }

    public void setOid(Integer oid) 
    {
        this.oid = oid;
    }

    public Integer getOid() 
    {
        return oid;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }

    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }

    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }

    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mid", getMid())
            .append("oid", getOid())
            .append("name", getName())
            .append("username", getUsername())
            .append("price", getPrice())
            .append("time", getTime())
            .append("del", getDel())
            .toString();
    }
}
